package com.Register.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "用户注册")
public class UserRegisterDTO implements Serializable {
    @Schema(description = "用户账号")
    private String username;

    @Schema(description = "用户名")
    private String name;

    @Schema(description = "用户设置的密码")
    private String password;

    @Schema(description = "用户绑定的手机号")
    private String phone;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "职业")
    private String career;

    @Schema(description = "单位")
    private String organization;

    @Schema(description = "年龄")
    private Integer age;
}
